package com.yy;

import com.yy.pojo.Course;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class testCourse {
    @Test
    public void t1(){
        ApplicationContext context = new ClassPathXmlApplicationContext("container.xml");
        Course course = context.getBean("course", Course.class);
        course.show();
    }
}
